package com.example.aipdefficiency.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@TableName("wallet_info")
public class WalletInfo {
    
    @TableId(type = IdType.AUTO)
    private Long id;
    
    @TableField("user_id")
    private Long userId;
    
    @TableField("balance")
    private BigDecimal balance;
    
    @TableField("frozen_amount")
    private BigDecimal frozenAmount;
    
    @TableField("total_income")
    private BigDecimal totalIncome;
    
    @TableField("total_expense")
    private BigDecimal totalExpense;
    
    @TableField("create_at")
    private LocalDateTime createAt;
    
    @TableField("update_at")
    private LocalDateTime updateAt;
    
    @TableField("has_deleted")
    private Integer hasDeleted;
} 